package com.th.apicenter;

import com.cainiao.link.annotation.EnableLink;
import com.th.apicenter.config.ApplicationProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@MapperScan("com.th.apicenter.mapper")
@EnableConfigurationProperties({ApplicationProperties.class})
@EnableAspectJAutoProxy
@EnableLink
public class ApicenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApicenterApplication.class, args);
    }

}
